import request from '@/utils/request'

// 大屏左上角：上架房源统计
export const getHouseStatistic = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/housingRenta/query/housingRenta',
    params: params,
  })
}

// 大屏左中上：各城区户型数量统计
export const getHouseTypeStatistic = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/housingRenta/query/getRoomTotalByParkId',
    params: params,
  })
}

// 大屏左中下：房源核验
export const getHouseSourceCheck = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/housingRenta/query/houseHY',
    params: params,
  })
}

// 大屏左下：承租人分析
export const getLesseeAnalysis = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/housingRenta/query/houseLesseeAnalysis',
    params: params,
  })
}

// 大屏右上：热门小区
export const getHotCommunity = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/housingRenta/query/houseHotCommunity',
    params: params,
  })
}

// 大屏右中：成交信息
export const getDealInfo = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/housingRenta/query/houseDealInfo',
    params: params,
  })
}

// 大屏右下：租赁信息
export const getRentInfo = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/housingRenta/query/HouseRentInfo',
    params: params,
  })
}